package com.zy.service;

import com.zy.domain.SysUser;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zy.mapper.SysUserMapper;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

/**
* @author RASH_ZY
* @description 针对表【sys_user(系统用户)】的数据库操作Service
* @createDate 2025-03-29 23:22:50
*/
public interface SysUserService extends IService<SysUser> {

    /**
     * 新增管理员
     * @param sysUser
     * @return
     */
    Integer saveSysUser(SysUser sysUser);

    /**
     * 根据标识id查询管理员信息
     * @param id
     * @return
     */
    SysUser querySysUserInfoByUserId(Long id);

    /**
     * 修改管理员信息
     * @param sysUser
     * @return
     */
    Integer modifySysUserInfo(SysUser sysUser);

    /**
     * 批量/单个删除管理员
     * @param userIds
     * @return
     */
    Boolean removeSysUserListByUserIds(List<Long> userIds);
}
